package com.allen.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @ClassName DemoFeign
 * @Description TODO
 * @Autor ansonglin
 * @Date 2019/7/9 19:23
 * @Version 1.0
 **/
@FeignClient(name = "${feign.name.student}",path = "/test")
public interface DemoFeign {

    @GetMapping("/zuulRouteTest")
    public String test();
}
   